namespace EyeOpen.Webcam.Silverlight
{
	using System;
	using System.ServiceModel;

	[ServiceContract(Name = "IStreamService")]
	public interface IStreamServiceAsync
	{
		[OperationContract(AsyncPattern = true)]
		IAsyncResult BeginCapture(byte[] value, DateTime dateTime, AsyncCallback callback, object state);

		void EndCapture(IAsyncResult result);

		[OperationContract(AsyncPattern = true)]
		IAsyncResult BeginCaptureString(string value, DateTime dateTime, AsyncCallback callback, object state);

		void EndCaptureString(IAsyncResult result);
	}
}